package com.lynn.common.dialog

import android.content.Context
import com.lynn.common.utils.ActivityUtil

/**
 * @description: 对话框显示管理类：对话框的显示通过该顶级函数暴漏出去
 * @author: bailing
 * @datetime: 2025/6/5 09:34
 **/



fun createHttpLoadingDialog(context: Context): BaseDialog{
    return  HttpLoadingDialog.Builder(context).build()
}

fun showPrivacyDialog(context: Context, listener: PrivacyDialog.OnClickListener) {
    PrivacyDialog.Builder(context)
        .setOnClickListener(listener)
        .show()
}

